﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BubbleSorter
{
    public class Studernt
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public static string Print(Studernt emp) => $"学生学号：{emp.Id}, 姓名：{emp.Name}";
        public static bool CompareName(Studernt s1, Studernt s2) =>
          s1.Name.CompareTo(s2.Name) < 0 ? true : false;//小于0降序 大于0升序
     
    }
}
